import {defineStore} from 'pinia'

export const useSearchStore = defineStore('search', {
  state(){
    return{
      historyArray:[],
      placeholder:'' as string,
      goodesdata :[],
      //显示实时数据下拉框
      show:false as boolean,
      inpval:'' as string,
      //显示搜索栏下面的数据
      showindexbottom:true as boolean,
    }
  },
  actions:{
    
  },
  getters:{},
})